package it.dgtest.client;

import it.dgtest.client.crud.CrudComune;
import it.dgtest.client.crud.CrudTestAllField;
import it.dgtest.client.crud.ListComune;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.oa.gform.client.ui.GFieldSet;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class DGTest implements EntryPoint {

	public void onModuleLoad() {
		//provaFieldSet();
		//HTMLPanel p  = new HTMLPanel();
		RootPanel.get().add(new CrudTestAllField());
		RootPanel.get().add(new CrudComune());
		RootPanel.get().add(new ListComune());
	}
	
	private void provaFieldSet() {
		GFieldSet fieldSet =  new GFieldSet();
		//fieldSet.add(new Label("test"));
		//fieldSet.add(new TextBox());
		//fieldSet.setCaption("caption");
		RootPanel.get().add(fieldSet);
		//RootPanel.get().add(new Label("Fuori"));
		
	}
}
